package com.guodu.service;

import java.math.BigDecimal;
import java.util.List;


import com.guodu.entity.MaterialChuku;
import com.guodu.entity.MaterialchukuStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.MaterialChukuQueryVo;
import com.guodu.vo.MaterialChukuVo;


public interface MaterialChukuService {
	List<MaterialChukuVo> findByVo(MaterialChukuQueryVo materialChukuQueryVo,Units units,int curPage , int pageSize);
	List<MaterialChuku> findAllByVo(MaterialChukuQueryVo materialChukuQueryVo,Units units);
	boolean examinAll(MaterialChukuQueryVo materialChukuQueryVo,Units units);
	boolean huituiAll(MaterialChukuQueryVo materialChukuQueryVo,Units units);
	boolean allBack(MaterialChukuQueryVo materialChukuQueryVo,Units units);
	boolean shanchuAll(MaterialChukuQueryVo materialChukuQueryVo,Units units);
	BigDecimal findAllMoney(MaterialChukuQueryVo materialChukuQueryVo,Units units);
	int findSizeByVo(MaterialChukuQueryVo materialChukuQueryVo,Units units);
	MaterialChuku findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(MaterialChuku entity);
	void update(MaterialChuku entity);
	void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	List<MaterialchukuStatus> findStatus(String id);
}
